import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public Driver2 {
	
	public static void main(String[] args) throws FileNotFoundException, IOException {
		  System.out.println("test");
		  FileReader f = new FileReader(args[0]);
		  Parser parser = new Parser(f);
		  Yylex lexer = new Yylex(f, parser);
		  int output = 0;
		  
		  do { output = lexer.yylex();
		  		System.out.println(output);
		  } while (output != 0);
		  
		  
	}
}

